package org.senseframework.support.open.api.controller.encrypt;


import org.senseframework.support.open.api.service.ApiDefinition;

/**
 * Author lanjian
 * Email  jianlan@iflytek.com
 */
public class EncryptException extends RuntimeException {

    protected Integer code = ApiDefinition.ENCYTPT_EROOR;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public EncryptException() {
        super();
    }

    public EncryptException(String message) {
        super(message);
    }

    public EncryptException(String message, Throwable cause) {
        super(message, cause);
    }

    public EncryptException(Throwable cause) {
        super(cause);
    }

}
